﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Register.Domain
{
    /// <summary>
    /// 商品表
    /// </summary>
    [Table("Goods")]
    public class Goods
    {
        /// <summary>
        /// 商品编号
        /// </summary>
        [Key]
        public int GoodId {  get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        [StringLength(50)]
        public string GoodName { get; set; } = string.Empty;
    }
}
